/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package knowledgebase.service;

import java.util.List;
import knowledgebase.model.User;

/**
 *
 * @author eugene
 */
public interface UserService {
    public List<User> getAllUser();
    public void saveOrUpdateUser(User user) throws Exception;
    public void removeUserById(long userId);
    public User findUserByName(String name);
    public List<User> searchUser(String name, String email, Boolean isEnabled, int startIndex, int size);
    public long getUserCount();
}
